import Home from '../views/Home.vue'
const router = [
    { path:'/', name:'Home',component:Home},
    { 
        path:'/edit', 
        name:'Edit',
        component:()=> import('../views/Editor.vue') ,
        children:[
            {path : 'map', name : 'Map', component:()=> import('../views/editor/MapEditor.vue') }
        ]
    },
]

export default router